package com.ada.component;

import com.ada.service.HelloService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class ConsumerComponent {
    @Reference
    private HelloService helloService;

    public String sayA(String name) {
        return helloService.sayA(name);
    }
    public String sayB(String name) {
        return helloService.sayB(name);
    }
    public String sayC(String name) {
        return helloService.sayC(name);
    }
}


